package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;

import javax.persistence.*;

import org.apache.commons.lang.builder.ToStringBuilder;

import java.math.BigDecimal;


/**
 * The persistent class for the PS_C_PAYSLIP_VW2 database table.
 * 
 */
@Entity
@Table(name="PS_C_PAYSLIP_VW2")
@NamedQuery(name="PsCPayslipVw2.findAll", query="SELECT p FROM PsCPayslipVw2 p")
@IdClass(PsCPayslipVw2Primary.class)
public class PsCPayslipVw2 implements Serializable {
	private static final long serialVersionUID = 1L;

	private BigDecimal amt;

	@Id
	@Column(name="CAL_RUN_ID")
	private String calRunId;

	private String descr;

	@Id
	private String emplid;

	private String name1;

	private String name2;

	@Id
	private BigDecimal seqnbr;

	@Id
	private BigDecimal seqno;

	@Id
	@Column(name="\"YEAR\"")
	private String year;

	public PsCPayslipVw2() {
	}

	public BigDecimal getAmt() {
		return amt;
	}

	public void setAmt(BigDecimal amt) {
		this.amt = amt;
	}

	public String getCalRunId() {
		return calRunId;
	}

	public void setCalRunId(String calRunId) {
		this.calRunId = calRunId;
	}

	public String getDescr() {
		return descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	public String getEmplid() {
		return emplid;
	}

	public void setEmplid(String emplid) {
		this.emplid = emplid;
	}

	public String getName1() {
		return name1;
	}

	public void setName1(String name1) {
		this.name1 = name1;
	}

	public String getName2() {
		return name2;
	}

	public void setName2(String name2) {
		this.name2 = name2;
	}

	public BigDecimal getSeqnbr() {
		return seqnbr;
	}

	public void setSeqnbr(BigDecimal seqnbr) {
		this.seqnbr = seqnbr;
	}

	public BigDecimal getSeqno() {
		return seqno;
	}

	public void setSeqno(BigDecimal seqno) {
		this.seqno = seqno;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

}